package PTA.YiChang.ex02;

import java.util.Arrays;
import java.util.Scanner;

public class ex02 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int arr[] = new int[n];
        int count = 0;
        while(count<n){
            try{
                String line = sc.next();
                int a = Integer.parseInt(line);
                arr[count++] = a;
            }catch (Exception e)
            {
                System.out.println(e);
            }
        }
        System.out.println(Arrays.toString(arr));


    }
}
